package org.gpp.proj1.communication.processor.test;

import java.util.LinkedList;
import java.util.List;

import org.gpp.proj1.communication.listener.RequestListener;
import org.gpp.proj1.communication.protocol.Message;

public class RequestCounter implements RequestListener {

	public List<Message> received;
	
	public RequestCounter() {
		this.received = new LinkedList<Message>();
	}
	
	public void requestReceived(Message message) {
		this.received.add( message );
	}
}
